package com.xj.demo.config;

import com.xj.demo.bean.UserBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

//@ComponentScan(basePackages = "com.xj.demo.service")
@Configuration
public class MyComponentScan {
	@Bean
	public UserBean user(){
		return new UserBean();
	}
}
